<table class="table table-striped table-bordered table-hover">

    <tr>
    <th width="180" height="40">A&ccedil;&otilde;es</th>
    <th>Nome</th>
    </tr>

    <?php
    $sql = "SELECT * FROM paginabotao WHERE sta_id='1' ORDER BY pag_btn_nome";
    $res = sql($sql);
    while($linha = mysql_fetch_array($res)) {
    ?>

    <tr>
        <td height="40">
            <input name="excluir[]" type="checkbox" value="<?=$linha['pag_btn_id'];?>"/><i class="icon-trash"></i> Excluir&nbsp;&nbsp;|&nbsp;
            <a href="?pag=paginabotao_alt&pag_btn_id=<?=$linha['pag_btn_id'];?>"><i class="icon-pencil"></i> Editar</a>
        </td>
        <td><?=$linha['pag_btn_msg']." ".$linha['pag_btn_nome'];?></td>
    </tr>

    <?
    } 
    ?>
</table>